package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomizeDao;
import com.appkubes.mall.core.entity.MallCustomize;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomizeService extends AbstractBaseService<BaseMallCustomizeDao, MallCustomize> {

    MallCustomize getOneByEntity(MallCustomize entity);

    List<MallCustomize> selectListByEntity(MallCustomize entity);

    IPage<MallCustomize> selectPageByEntity(IPage<MallCustomize> page);
    IPage<MallCustomize> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomize> selectPageByEntity(MallCustomize entity, IPage<MallCustomize> page);
    IPage<MallCustomize> selectPageByEntity(MallCustomize entity, PageVO pageVO);

    IPage<MallCustomize> selectPageByEntity(MallCustomize entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomize entity);
}
